﻿using IM.Easy.Entity.System;
using IM.Easy.Infrastructure.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.SystemServices.Dtos
{
    public class MenuQueryDto : QueryBase
    {
        public string Name { get; set; }
        public string Visible { get; set; }
        public string Status { get; set; }

        public long? Pid { get; set; }

        /// <summary>
        /// 菜单类型
        /// </summary>
        public MenuType[] MenuType { get; set; }

    }

    /// <summary>
    /// 菜单明细查询
    /// </summary>
    public class MenuInfoQueryDto
    {
        /// <summary>
        /// 是否携带子菜单数据
        /// </summary>
        public bool LeafNode { get; set; }

        /// <summary>
        /// 菜单主键
        /// </summary>
        public long Id { get; set; }
    }
}
